package com.iter.devbox.pattern;

/**
 * 桔子汁（具体装饰角色）
 * 
 * @author hnylj
 *
 */
public class OrangeJuice extends Decorator {

	/**构造具体构建*/
	public OrangeJuice(Ijuice juice) {
		super(juice);
		this.juice = juice;
	}
	
	/**具体构建方法的增强 + 5元*/
	@Override
	public double cost() {
		return super.cost() + 5;
	}
}
